<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
<head>
	<title>审批对话框</title>
	<%@ include file="/WEB-INF/jsp/public/common.jspf" %>
	
	<script type="text/javascript">
		function save(){
 			var status = document.getElementsByName("status")[0].value;
 			if(status.length<1){
 				alert("请选择审批意见");
 				return false;
 			}
 			
 			document.form.submit();
 			return true;
 		}
	</script>
</head>
<body>

<!-- 标题显示 --> 
<div id="Title_bar">
    <div id="Title_bar_Head">
        <div id="Title_Head"></div>
        <div id="Title"><!--页面标题-->
            <img border="0" width="13" height="13" src="${pageContext.request.contextPath}/style/images/title_arrow.gif"/> 审批对话框
        </div>
        <div id="Title_End"></div>
    </div>
</div>

<!--显示表单内容-->
<div id=MainArea>

    <s:form action="messageQuene_add" name="form" target="right">
        <s:hidden name="id"></s:hidden>
        <!-- 表单内容显示 -->
                <table cellpadding="0" cellspacing="0">
                    <tr><td width="100">审批意见</td>
                        <td>
							<s:select name="status" size="1" cssClass="SelectStyle"	list="#{1:'同意',3:'不同意',2:'以后处理'}" listKey="key" listValue="value" headerKey=""	headerValue="==审批意见=="/>
                        </td>
                    </tr>
                    <tr><td>审批回复</td>
                       <td><s:textarea name="reponseRemark" cssClass="TextareaStyle"></s:textarea></td>
                    </tr>
                </table>
        <!-- 表单操作 -->
        <div id="InputDetailBar">
           <img src="${pageContext.request.contextPath}/style/images/save.png" onclick="save();"/>
        </div>
    </s:form>
</div>
</body>
</html>
